#include <cstdio>
using namespace std;

int main()
{
    int i = 0, sum = 0;
    while (i++ < 100)
        sum += i;
    printf("sum = %d\n", sum);
    return 0;
}